package com.vcg.comment.model;

import com.vcg.common.base.BaseModel;

import java.util.List;

public class Comment extends BaseModel<Comment> {

    private static final long serialVersionUID = 8128591323523743186L;

    private String id;

    private String message;

    private String resourceId;

    private String userId;

    private String linkId;

    private Long createDate;

    private String parentId;

    private Long sort;

    private List<Comment> childComments;

    public String getId() {
        return id;
    }

    public Comment setId(String id) {
        this.id = id == null ? null : id.trim();
		return this;
    }

    public String getMessage() {
        return message;
    }

    public Comment setMessage(String message) {
        this.message = message == null ? null : message.trim();
		return this;
    }

    public String getResourceId() {
        return resourceId;
    }

    public Comment setResourceId(String resourceId) {
        this.resourceId = resourceId == null ? null : resourceId.trim();
		return this;
    }

    public String getUserId() {
        return userId;
    }

    public Comment setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
		return this;
    }

    public String getLinkId() {
        return linkId;
    }

    public Comment setLinkId(String linkId) {
        this.linkId = linkId == null ? null : linkId.trim();
		return this;
    }

    public Long getCreateDate() {
        return createDate;
    }

    public Comment setCreateDate(Long createDate) {
        this.createDate = createDate;
		return this;
    }

    public String getParentId() {
        return parentId;
    }

    public Comment setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
		return this;
    }

    public Long getSort() {
        return sort;
    }

    public Comment setSort(Long sort) {
        this.sort = sort;
		return this;
    }

    public List<Comment> getChildComments() {
        return childComments;
    }

    public void setChildComments(List<Comment> childComments) {
        this.childComments = childComments;
    }
}
